//
//  PostDetailsViewController.h
//  唧歪
//
//  Created by ZC on 15/7/10.
//  Copyright (c) 2015年 MWJ. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <AVFoundation/AVFoundation.h>
#import <CoreAudio/CoreAudioTypes.h>
#import <AudioToolbox/AudioToolbox.h>
#import "FXRecordArcView.h"

@interface PostDetailsViewController : UIViewController<NSLayoutManagerDelegate,UITableViewDataSource,UITableViewDelegate,UIImagePickerControllerDelegate,UINavigationControllerDelegate,UIActionSheetDelegate,AVAudioRecorderDelegate,UITextFieldDelegate,AVAudioPlayerDelegate,FXRecordArcViewDelegate>

@property (weak, nonatomic) IBOutlet UILabel *timeLabel;  //发布时间

@property (weak, nonatomic) IBOutlet UILabel *placeLabel;  //发布地点

@property (weak, nonatomic) IBOutlet UILabel *showTime;  //帖子显示时长

@property (weak, nonatomic) IBOutlet UIImageView *pictureClick;  //图片点击

@property (weak, nonatomic) IBOutlet UITextField *textF;  //评论输入框

@property (weak, nonatomic) IBOutlet UITextView *content;  //帖子内容

- (IBAction)sendButton:(id)sender;  //评论发送按钮

@property (weak, nonatomic) IBOutlet UIButton *allCommentButton;  //查看全部评论与回复按钮属性

@property (weak, nonatomic) IBOutlet UILabel *BrowseNumber;  //点击数

@property (weak, nonatomic) IBOutlet UILabel *commentCount;  //回帖数


- (IBAction)AllCommentButton:(id)sender;  //查看全部评论与回复按钮事件

@property (weak, nonatomic) IBOutlet UITableView *tableView;  //显示评论回复的tableview

- (IBAction)pic:(id)sender;

@property (weak, nonatomic) IBOutlet UILabel *VoiceMessages;  //语音信息

//@property (weak, nonatomic) IBOutlet UIButton *vovieButton;  //语音按钮属性

@property(nonatomic)UIImage *photoImage;

@property (retain, nonatomic) AVAudioPlayer *avPlay;

@property (weak, nonatomic) IBOutlet UILabel *theRestTime;  //剩余时间

@property (weak, nonatomic) IBOutlet UIView *exceptionalView;  //打赏的View

@property (weak, nonatomic) IBOutlet UITextField *exceptionalCount;//打赏的分数

- (IBAction)exceptionalSubmit:(id)sender;  //打赏提交

- (IBAction)exceptionalAction:(id)sender;
@property (weak, nonatomic) IBOutlet UIButton *dashang;  

@property (weak, nonatomic) IBOutlet UIButton *DSButton;  //打赏界面的赏按钮

- (IBAction)gbButton:(id)sender;

@property (weak, nonatomic) IBOutlet UIScrollView *scrollImage;

@property (weak, nonatomic) IBOutlet UIView *vovieView;

@property (weak, nonatomic) IBOutlet UIView *newview;
- (IBAction)voice:(id)sender;
- (IBAction)cam:(id)sender;
- (IBAction)HoldDown:(id)sender;
@property (weak, nonatomic) IBOutlet UIButton *holddownButton;
@property (weak, nonatomic) IBOutlet UIButton *QXbutton;
- (IBAction)QX:(id)sender;
@property (weak, nonatomic) IBOutlet UIButton *jiaButton;
@property(nonatomic, strong) FXRecordArcView *recordView;
@property (weak, nonatomic) IBOutlet UIButton *focusButton;
@property (weak, nonatomic) IBOutlet UIButton *cancelButton;  //关闭



@end
